package com.sx.art2.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.sx.art2.beans.Art;

public interface ArtMapper {
	
	void insert(Art art);
	List<Art> list();
	List<Art> Alist(int artState);
	Art selectById(int artId);
	Art selectByName(String artName);
	void addAcution(@Param("artId")int artId,@Param("artPic")String pic);
	Art lookArt(int artId);
	Art lookArt2(int artId);
	//void updateAuctionState(int auctionState);
	void updateArtSum(@Param("count") int count,@Param("auctionInfoId") int auctionInfoId);
	List<Art> selectAllArt(Art art);
}
